Nonlinear Program Construction and Verification Method Based on Partition Recursion and Morgan's Refinement Rules
نویسندگان
چکیده
The traditional program refinement strategy cannot be refined to an executable program, and there are issues such as low verification reliability automation. To solve the above problems, this paper proposes a nonlinear construction method based on partition recursion Morgan's rules. First, we use recursive definition technique characterize initial specification. specification is then transformed into GCL(Guarded Command Language) programs using loop invariant derivation Furthermore, VCG (Verification Condition Generator) used in GCL generate condition automatically. Isabelle theorem prover validates program's correctness. Finally, code generates C++ automatically via conversion system. effectiveness of demonstrated binary tree preorder traversal example. This addresses problem that process's difficult obtain process insufficiently detailed. At same time, improves automation reduces manual workload.
منابع مشابه
Program Construction and Verification Components Based on Kleene Algebra
Variants of Kleene algebra support program construction and verification by algebraic reasoning. This entry provides a verification component for Hoare logic based on Kleene algebra with tests, verification components for weakest preconditions and strongest postconditions based on Kleene algebra with domain and a component for step-wise refinement based on refinement Kleene algebra with tests. ...
متن کاملLogic + control: On program construction and verification
We present a Prolog program (the SAT solver of Howe and King) as a logic program with added control. The control consists of a selection rule (delays of Prolog) and pruning the search space. We construct the logic program together with proofs of its correctness and completeness, with respect to a formal specification. This is augmented by a proof of termination under any selection rule. Correct...
متن کاملOn Automated Program Construction and Verification
A new approach for automating the construction and verification of imperative programs is presented. Based on the standard methods of Dijkstra, Gries and Hoare, it supports a game of proof and refutation with automated theorem provers, model search tools and computer algebra systems combined with “hidden” domain-specific algebraic theories that have been designed and optimised for automation. T...
متن کاملTheory Refinement for Program Verification
Recent progress in automated formal verification is to a large degree due to the development of constraint languages that are sufficiently light-weight for reasoning but still expressive enough to prove properties of programs. Satisfiability modulo theories (SMT) solvers implement efficient decision procedures, but offer little direct support for adapting the constraint language to the task at ...
متن کاملVerification Method of Real-time System Based on Refinement Relation
With the continuous increase in the size and complexity of a real-time computer system, the use of formal verification methods in software development is also on the rise. The traditional formal verification method is not fully applicable to the development of actual system life cycle. Therefore, this paper presents a new real-time system verification method, It takes the deadlock timed Büchi a...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
ژورنال
عنوان ژورنال: Wuhan University Journal of Natural Sciences
سال: 2023
ISSN: ['1007-1202', '1993-4998']
DOI: https://doi.org/10.1051/wujns/2023283246